﻿package
{
	import ASF;
	import ASRock;
	import org.flixel.*;
	
	public class ASRockSmall extends ASRock
	{
		[Embed(source = 'data/rocks_small.png')] private var imgRockSmall:Class;
		public function ASRockSmall(ParentState:StateGameLoop)
		{
			super(ParentState);
			width = 16;
			height = 8;
			loadGraphic(imgRockSmall, true, false, width, height, false);
			addAnimation("rocks", [0, 1, 2]);
		}
		
		override public function spawn(X:int = -1, Y:int = -1, break_dir:int = 0):void
		{
			randomFrame();
			super.spawn(X, Y, break_dir);
		}
	
		override public function getScore():int { return ASF.SCORE_ROCK_SMALL; }
		
	}
}